package com.zhang.publisher.service.impl;

import com.zhang.publisher.bean.ProvinceStats;
import com.zhang.publisher.mapper.ProvinceStataMapper;
import com.zhang.publisher.service.ProvinceStatsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @title:
 * @author: zhang
 * @date: 2022/3/17 21:44
 */
@Service
public class ProvinceStatsServiceImpl implements ProvinceStatsService {

    @Autowired
    private ProvinceStataMapper provinceStataMapper;
    @Override
    public List<ProvinceStats> getProvinceStats(Integer date) {
        return provinceStataMapper.selectProductStats(date);
    }
}
